package com.ujiuye.dao;

import com.ujiuye.utils.utils;

import java.sql.SQLException;

public class dao01 {
    utils utils =new utils();
    public int insert(String uname, String mima) {
        String sql ="insert into people values ('"+uname+"','"+mima+"')";
        try {
            return utils.qr.update(sql);
        } catch (SQLException throwables) {
            throwables.printStackTrace();
        }
            return 0;
    }
}
